"""
自定义form表单验证
"""
from django import forms


class SquareForm(forms.Form):
    """
    广场表单验证
    """
    content = forms.CharField(max_length=20, required=True, widget='')
    name = forms.CharField(max_length=5, required=True)
    email = forms.EmailField()
    phone = forms.CharField(max_length=11, required=True)
